package com.java.innerniming;

public class StuFamily {
	// 成员内部类

	// 属性
	private String stuMother;
	private String stuFather;
	private String stuAddress;

	// 获取学生家庭信息行为
	public String getStuFamilyInfo() {
		return this.toString();
	}

	// 构造方法
	public StuFamily(String stuMother, String stuFather, String stuAddress) {
		super();
		this.stuMother = stuMother;
		this.stuFather = stuFather;
		this.stuAddress = stuAddress;
	}

	public StuFamily() {
		super();
		// TODO Auto-generated constructor stub
	}

	// toString方法
	@Override
	public String toString() {
		return "StuFamily [stuMother=" + stuMother + ", stuFather=" + stuFather + ", stuAddress=" + stuAddress + "]";
	}
	// getter，setter

	public String getStuMother() {
		return stuMother;
	}

	

	public void setStuMother(String stuMother) {
		this.stuMother = stuMother;
	}

	public String getStuFather() {
		return stuFather;
	}

	public void setStuFather(String stuFather) {
		this.stuFather = stuFather;
	}

	public String getStuAddress() {
		return stuAddress;
	}

	public void setStuAddress(String stuAddress) {
		this.stuAddress = stuAddress;
	}

}
